how do i calculate the margin requirement